package com.as.service.impl;

import com.as.base.BaseServiceImpl;
import com.as.entity.Stream;
import com.as.mapper.StreamMapper;
import com.as.service.StreamService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StreamServiceImpl extends BaseServiceImpl<Stream> implements StreamService {

    @Autowired
    private StreamMapper streamMapper;

    @Override
    public List<Stream> queryByDate(String startTime, String endTime) {
        return streamMapper.queryByDate(startTime, endTime);
    }
}
